<!--
 * @Date: 2025-03-17 15:28:26
 * @LastEditors: Kuhn.xiang
 * @LastEditTime: 2025-03-17 15:31:05
 * @Description: 子应用魔板
-->
<template>
  <div id="sub-container"></div>
</template>

<script>
import { start } from 'qiankun'
// 配置的qiankun信息
import { registerApps } from '@/qiankun-config/main'
export default {
  mounted() {
    if (!window.qiankunStarted) {
      window.qiankunStarted = true
      registerApps()
      // 开启qiankun
      start({
        // sandbox: {
        //   // sandbox: { strictStyleIsolation: true } // 严格隔离
        //   // experimentalStyleIsolation: true // 样式隔离
        // }
      })
    }
  },
}
</script>
